#ifndef DEFAULTVIEW_H
#define DEFAULTVIEW_H

#include <QtGui/QWidget>
#include <QWebView>
#include <QDockWidget>
#include <QCoreApplication>
#include <QGridLayout>
#include "abstractview.h"
#include "mainwindow.h"

namespace Ui {
    class DefaultView;
}

class DefaultView : public AbstractView {
    Q_OBJECT
public:
    DefaultView(QWidget *parent = 0);
    ~DefaultView();
    virtual void preview(){}
    virtual void load(const QString &url){}
    virtual void show(int index){}
    virtual void showNext(){}
    virtual void showPrevious(){}
protected:
    void changeEvent(QEvent *e);

private:
    Ui::DefaultView *m_ui;
    QWebView* webView;
    QGridLayout *mainLayout;
};

#endif // DEFAULTVIEW_H
